Style

data class Style(val contentColourUnselected: AppColour, val contentColourSelected: AppColour, val fillColourUnselected: AppColour, val fillColourSelected: AppColour, val textStyle: TextStyle = Source.Typography.TextSansBold14, val borderColourUnselected: AppColour = AppColour.Unspecified, val borderColourSelected: AppColour = borderColourUnselected, val borderWidth: Dp = Dp.Unspecified, val shape: Shape = Shape, val badgeColour: AppColour = DefaultBadgeColour)

Represents the visual shape and style of a chip component.

Constructors

Link copied to clipboard
constructor(contentColourUnselected: AppColour, contentColourSelected: AppColour, fillColourUnselected: AppColour, fillColourSelected: AppColour, textStyle: TextStyle = Source.Typography.TextSansBold14, borderColourUnselected: AppColour = AppColour.Unspecified, borderColourSelected: AppColour = borderColourUnselected, borderWidth: Dp = Dp.Unspecified, shape: Shape = Shape, badgeColour: AppColour = DefaultBadgeColour)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Colour for the badge displayed on the chip. If Unspecified, then the default badge colour will be used.

Link copied to clipboard

Border colour of the chip when it is selected.

Link copied to clipboard

Border colour of the chip when it is not selected.

Link copied to clipboard

Thickness of the border stroke.

Link copied to clipboard

Colour for the text and icons displayed on the chip when it is selected.

Link copied to clipboard

Colour for the text and icons displayed on the chip when it is not selected.

Link copied to clipboard

Background colour of the chip when it is selected.

Link copied to clipboard

Background colour of the chip when it is not selected.

Link copied to clipboard

Shape of the chip.

Link copied to clipboard

The style of the text displayed on the chip.